package com.wdc.aggregates;

import com.wdc.vo.TreeNode;
import com.wdc.vo.TreeRoot;

import java.util.Map;

/**
 * 规则树聚合
 */
public class TreeRich {
    //规则树根
    private TreeRoot treeRoot;
    //树节点Id -》 子节点
    private Map<Long, TreeNode> treeNodeMap;

    public TreeRoot getTreeRoot() {
        return treeRoot;
    }

    public void setTreeRoot(TreeRoot treeRoot) {
        this.treeRoot = treeRoot;
    }

    public Map<Long, TreeNode> getTreeNodeMap() {
        return treeNodeMap;
    }

    public void setTreeNodeMap(Map<Long, TreeNode> treeNodeMap) {
        this.treeNodeMap = treeNodeMap;
    }
}
